home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
Q-R
/
Restaurants.cpt
/
Restaurants
/
background_13616.txt
< prev
next >
Wrap
Text File
|
1987-12-20
|
7KB
|
260 lines
-- background: 13616 from stack: in
-- bmap block id: 14061
-- flags: 4000
-- background id: 0
-- name: Seafood
----- HyperTalk script -----
on openBackground
push recent card
end openBackground
on NewCard
set the lockScreen to true
doMenu "New Button"
set name of button "New Button" to "¢"
set style of button ¢ to checkBox
set rect of button ¢ to 37,313,65,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to TRUE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button ¢ to buttonScript
show button ¢
doMenu "New Button"
set name of button "New Button" to "$"
set style of button $ to checkBox
set rect of button $ to 81,313,109,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to TRUE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button $ to buttonScript
show button $
doMenu "New Button"
set name of button "New Button" to "$$"
set style of button "$$" to checkBox
set rect of button "$$" to 125,313,160,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to TRUE" & return after buttonScript
put "set hilite of button ID 4 to FALSE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button "$$" to buttonScript
show button "$$"
doMenu "New Button"
set name of button "New Button" to "$$$"
set style of button "$$$" to checkBox
set rect of button "$$$" to 176,313,217,329
-- now construct script for the new button
put "on mouseUp" & return into buttonScript
put "set hilite of button ID 1 to FALSE" & return after buttonScript
put "set hilite of button ID 2 to FALSE" & return after buttonScript
put "set hilite of button ID 3 to FALSE" & return after buttonScript
put "set hilite of button ID 4 to TRUE" & return after buttonScript
put "end mouseUp" & return after buttonScript
set script of button "$$$" to buttonScript
show button "$$$"
choose browse tool
global SeafoodNumber
add 1 to SeafoodNumber
end NewCard
on CutCard
global SeafoodNumber
subtract 1 from SeafoodNumber
end CutCard
on DeleteCard
global SeafoodNumber
subtract 1 from SeafoodNumber
end DeleteCard
-- part 17 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=21 top=148 right=312 bottom=223
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name:
-- part 18 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=77 right=126 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 18
-- style flags: 0
-- line height: 24
-- part name:
-- part 21 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=127 right=183 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name:
-- part 22 (field)
-- low flags: 00
-- high flags: 0000
-- rect: left=237 top=184 right=204 bottom=485
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 14
-- style flags: 0
-- line height: 18
-- part name:
-- part 24 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=420 top=203 right=228 bottom=444
-- title width / last selected line: 0
-- icon id / first selected line: 15420 / 15420
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Prev
----- HyperTalk script -----
on mouseUp
visual effect wipe right
go to previous card
end mouseUp
-- part 25 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=444 top=203 right=228 bottom=466
-- title width / last selected line: 0
-- icon id / first selected line: 16560 / 16560
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Next
----- HyperTalk script -----
on mouseUp
visual effect wipe left
go to next card
end mouseUp
-- part 27 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=465 top=201 right=228 bottom=488
-- title width / last selected line: 0
-- icon id / first selected line: 6720 / 6720
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Return
----- HyperTalk script -----
on mouseUp
visual effect iris close
go to first card
end mouseUp
-- part 28 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=239 top=203 right=232 bottom=271
-- title width / last selected line: 0
-- icon id / first selected line: 21847 / 21847
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go Home
end mouseUp
-- part 29 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=21 top=49 right=147 bottom=144
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Wine Glass
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to card id 3672
end mouseUp
-- part 30 (button)
-- low flags: 00
-- high flags: 0000
-- rect: left=412 top=42 right=59 bottom=477
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Thai
----- HyperTalk script -----
on mouseUp
visual effect dissolve fast
go to first card of background "Thai"
end mouseUp